using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using ComponentFactory.Krypton.Toolkit;
using DukeyCssFetch.api;

namespace DukeyCssFetch
{
	// Token: 0x0200000A RID: 10
	public class FetchReplaceFrm : KryptonForm
	{
		// Token: 0x0600006A RID: 106 RVA: 0x0000944C File Offset: 0x0000764C
		public FetchReplaceFrm()
		{
			
			this.InitializeComponent();
			this.txtReplaceWord.Text = Comm.Fetch_ReplaceWords;
		}

		// Token: 0x0600006B RID: 107 RVA: 0x00009470 File Offset: 0x00007670
		private void btnOK_Click(object sender, EventArgs e)
		{
			Comm.Fetch_ReplaceWords = this.txtReplaceWord.Text;
			base.DialogResult = DialogResult.OK;
		}

		// Token: 0x0600006C RID: 108 RVA: 0x0000948C File Offset: 0x0000768C
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.icontainer_0 != null)
			{
				this.icontainer_0.Dispose();
			}
			base.Dispose(disposing);
		}

		// Token: 0x0600006D RID: 109 RVA: 0x000094AC File Offset: 0x000076AC
		private void InitializeComponent()
		{
			this.txtReplaceWord = new TextBox();
			this.btnOK = new KryptonButton();
			this.label1 = new Label();
			base.SuspendLayout();
			this.txtReplaceWord.Location = new Point(12, 12);
			this.txtReplaceWord.Multiline = true;
			this.txtReplaceWord.Name = "txtReplaceWord";
			this.txtReplaceWord.Size = new Size(390, 123);
			this.txtReplaceWord.TabIndex = 0;
			this.txtReplaceWord.Text = "{dede:global.cfg_cmsurl/}|\r\n{dede:global.cfg_cmspath/}|\r\n{dede:global.cfg_templets_skin/}|/templets/default";
			this.btnOK.Location = new Point(312, 153);
			this.btnOK.Name = "btnOK";
			this.btnOK.Size = new Size(90, 25);
			this.btnOK.TabIndex = 1;
			this.btnOK.Values.Text = "确定";
			this.btnOK.Click += new EventHandler(this.btnOK_Click);
			this.label1.AutoSize = true;
			this.label1.Location = new Point(12, 166);
			this.label1.Name = "label1";
			this.label1.Size = new Size(101, 12);
			this.label1.TabIndex = 2;
			this.label1.Text = "每行格式:标签|值";
			base.AcceptButton = this.btnOK;
			base.AutoScaleDimensions = new SizeF(6f, 12f);
			base.AutoScaleMode = AutoScaleMode.Font;
			base.ClientSize = new Size(414, 203);
			base.Controls.Add(this.label1);
			base.Controls.Add(this.btnOK);
			base.Controls.Add(this.txtReplaceWord);
			base.FormBorderStyle = FormBorderStyle.FixedSingle;
			base.Name = "FetchReplaceFrm";
			base.StartPosition = FormStartPosition.CenterScreen;
			this.Text = "设置cms路径词";
			base.ResumeLayout(false);
			base.PerformLayout();
		}

		// Token: 0x040000B9 RID: 185
		private KryptonButton btnOK;

		// Token: 0x040000B7 RID: 183
		private IContainer icontainer_0;

		// Token: 0x040000BA RID: 186
		private Label label1;

		// Token: 0x040000B8 RID: 184
		private TextBox txtReplaceWord;
	}
}
